package com.hmxx.myblogproject.controller;

import com.hmxx.myblogproject.mapper.MyBlogResourceMapper;
import com.hmxx.myblogproject.service.MyBlogResourceService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @description:
 * @Author: {27106}
 * @Date: {2021/11/30 13:11}
 */
@RestController
@RequestMapping("/resource")
public class MyBlogResourceController {
    @Resource
    private MyBlogResourceService myBlogResourceService;

    @RequestMapping("/getList")
    public Object getResourceList(){
        return myBlogResourceService.getList();
    }
}
